#include <iostream>
using namespace std;

bool gpio::gpio(int pin){
    wiringPiSetup();
    this->pin = pin;
    pinMode(this->pin, OUTPUT);
    digitalWrite(this->pin, LOW);
    return true;
}

bool gpio::setBit(){
    digitalWrite(this->pin, HIGH);
    return true;
}

bool gpio::ClearBit(){
    digitalWrite(this->pin, LOW);
    return true;
}

bool gpio::transferBits(char Bits){

}
